package com.tool.imp;

/**
 * 解析错误
 * 
 * @author Evan.Hu
 * 
 */
public class ParseExcelException extends Exception {

	private int rowIndex;
	private int colIndex;
	private String err;
	private static final long serialVersionUID = 2374583662018971135L;

	public ParseExcelException(int rowIndex, int colIndex, String error) {
		this.rowIndex = rowIndex;
		this.colIndex = colIndex;
		this.err = error;
	}

	public String getMessage() {
		return new StringBuilder("行[").append(rowIndex).append("]列[").append(colIndex).append("]Error[").append(err).append("]").toString();
	}
}
